#pragma once

#include "NotationParser.h"


namespace AppliedCryptography
{
	class TextParser : public NotationParser
	{
	public:
		TextParser()
		{ /*...*/ };

	public:
		virtual std::vector<byte> Encode(std::string& input) const;
		virtual std::vector<byte> Encode(const char* input) const;
		virtual std::vector<byte> operator()(std::string& input) const;
		virtual std::vector<byte> operator()(const char* input) const;

	public:
		virtual std::string Decode(std::vector<byte>& input) const;
		virtual std::string operator()(std::vector<byte>& input) const;
	};
};
